<?php

namespace app\store\model\user;

use app\common\model\BaseModel;

class UserReview extends BaseModel
{
    protected $name = 'user_review';
    public function getStateAttr($value){
        $data=['1'=>'审核成功','2'=>'审核失败','0'=>'待审核'];
        return ['text'=>$data[$value],'value'=>$value];
    }
}